<HTML>
<HEAD>
<TITLE>
ComponenteArbolB.h
</TITLE>
</HEAD>
<BODY>
<PRE>
<font color="green">/*
 * ComponenteArbolB.h
 *
 *  Created on: 16/10/2009
 *      Author: andres
 */</font>

<font color="blue">#ifndef</font> COMPONENTEARBOLB_H_
<font color="blue">#define</font> COMPONENTEARBOLB_H_

<font color="blue">#include</font> <font color="maroon">"Informacion.h"</font>
<font color="blue">#include</font> <font color="maroon">"Clave.h"</font>
<font color="blue">#include</font> <font color="maroon">&#60;vector&#62;</font>

<font color="green">/*
 *
 */</font>
<font color="blue">class</font> ComponenteArbolB
<font color="black">{</font>
<font color="blue">public</font><font color="black">:</font>
    ComponenteArbolB<font color="black">(</font><font color="blue">int</font> cantidadClaves<font color="black">)</font>;

    virtual <font color="blue">bool</font> EsHoja<font color="black">(</font><font color="black">)</font><font color="black">=</font><font color="maroon">0</font>;

    virtual <font color="blue">bool</font> Ingresar<font color="black">(</font>Informacion<font color="black">*</font> dato<font color="black">)</font><font color="black">=</font><font color="maroon">0</font>;

    virtual std<font color="black">:</font><font color="black">:</font>vector<font color="black">&#60;</font>Informacion<font color="black">*</font><font color="black">&#62;</font> Buscar<font color="black">(</font>Clave<font color="black">*</font> dato<font color="black">)</font><font color="black">=</font><font color="maroon">0</font>;

    virtual <font color="blue">bool</font> Quitar<font color="black">(</font>Informacion<font color="black">*</font> dato<font color="black">)</font><font color="black">=</font><font color="maroon">0</font>;

    virtual <font color="blue">void</font> MayorClave<font color="black">(</font>Clave<font color="black">*</font> <font color="black">&</font>dato<font color="black">)</font><font color="black">=</font><font color="maroon">0</font>;

    virtual ~ComponenteArbolB<font color="black">(</font><font color="black">)</font>;

<font color="blue">protected</font><font color="black">:</font>


    <font color="blue">int</font> cantidadClaves;
    <font color="green">//int tamanioClave;</font>
    <font color="green">//int tamanioTotal;</font>

<font color="black">}</font>;

<font color="blue">#endif</font> <font color="green">/* COMPONENTEARBOLB_H_ */</font>

</PRE>
</BODY>
</HTML>
